import request from '@/utils/request'

export function addPlanning(params) {
  return request({
    url: '/planning/add',
    method: 'post',
	  data:params
  })
}

export function getPlanning(params) {
  return request({
    url: '/planning/data',
    method: 'get',
	params
  })
}

export function delPlanning(params) {
  return request({
    url: '/planning/del',
    method: 'get',
	params
  })
}

export function upPlanning(params){
  return request({
    url: '/planning/update',
    method: 'post',
    data:params
  })
}

export function onePlanning(params){
  return request({
    url:'/planning/one/'+params,
    method:'get'
  })
}
